package top.skihub.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 商品实体类
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Goods extends GoodsParent{
    private Integer goodsId; //商品id
    private String goodsImg; //商品图片
    private String goodsImgBase64; //商品图片Base64编码
    private String goodsName; //商品名称
    private String goodsType; //商品类型
    private LocalDateTime startTime;    //营业时间
    private LocalDateTime endTime;    //打烊时间
    private String goodsDesc; //商品简介
    private String businessInfo; //商家信息
    private LocalDateTime goodsEnterTime1;    //加入时间
    private Long price; //商品价格

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    public String getBusinessInfo() {
        return businessInfo;
    }

    public void setBusinessInfo(String businessInfo) {
        this.businessInfo = businessInfo;
    }

    public LocalDateTime getGoodsEnterTime1() {
        return goodsEnterTime1;
    }

    public void setGoodsEnterTime1(LocalDateTime goodsEnterTime1) {
        this.goodsEnterTime1 = goodsEnterTime1;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }
}
